package com.gxa.dr2.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.*;
public class Plan {

  private int planId;
  private String planCode;
  private String plannerName;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date planMonth;
  private int planStatus;
  private String planRemark;
  private int planType;
  private String operator;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp updateTime;
  private int isDeleted;

  public Plan() {
  }

  public int getPlanId() {
    return planId;
  }

  public void setPlanId(int planId) {
    this.planId = planId;
  }


  public String getPlanCode() {
    return planCode;
  }

  public void setPlanCode(String planCode) {
    this.planCode = planCode;
  }


  public String getPlannerName() {
    return plannerName;
  }

  public void setPlannerName(String plannerName) {
    this.plannerName = plannerName;
  }


  public Date getPlanMonth() {
    return planMonth;
  }

  public void setPlanMonth(Date planMonth) {
    this.planMonth = planMonth;
  }


  public int getPlanStatus() {
    return planStatus;
  }

  public void setPlanStatus(int planStatus) {
    this.planStatus = planStatus;
  }


  public String getPlanRemark() {
    return planRemark;
  }

  public void setPlanRemark(String planRemark) {
    this.planRemark = planRemark;
  }


  public int getPlanType() {
    return planType;
  }

  public void setPlanType(int planType) {
    this.planType = planType;
  }


  public String getOperator() {
    return operator;
  }

  public void setOperator(String operator) {
    this.operator = operator;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  public int getIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(int isDeleted) {
    this.isDeleted = isDeleted;
  }

  @Override
  public String
  toString() {
    return "Plan{" +
            "planId=" + planId +
            ", planCode='" + planCode + '\'' +
            ", plannerName='" + plannerName + '\'' +
            ", planMonth=" + planMonth +
            ", planStatus=" + planStatus +
            ", planRemark='" + planRemark + '\'' +
            ", planType=" + planType +
            ", operator='" + operator + '\'' +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", isDeleted=" + isDeleted +
            '}';
  }
}
